package com.dxy.data.webcloud.up2u.domain;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @CLassName: UserRoleDO
 * @Author: weixin
 * @Description: 用户-角色关联类
 * @DATE: 2018/10/8 下午2:57
 * @Version: 1.0
 */
@TableName("sys_user_role")
public class UserRoleDO implements Serializable {
    private static final long serialVersionUID = 9145114397043101245L;

    private Integer id;
    private Integer userId;
    private Integer roleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UserRoleDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", roleId=" + roleId +
                '}';
    }
}
